package com.prp.db.idao;

import java.util.List;

import com.prp.db.po.ScoreRecord;

public interface IScoreRecordDAO {
	public void save(ScoreRecord transientInstance);

	public void delete(ScoreRecord persistentInstance);

	public ScoreRecord findById(java.lang.Integer id);

	public List findByExample(ScoreRecord instance);

	public List findByProperty(String propertyName, Object value);

	public List findByScore(Object score);

	public List findAll();

	public ScoreRecord merge(ScoreRecord detachedInstance);

	public void attachDirty(ScoreRecord instance);

	public void attachClean(ScoreRecord instance);

	public Integer findByUserIdSubjectId(int userId, Integer toSubjectId);
}
